﻿<Card Size="CardSize.Small">
    <CardBody>
        <ApexChart TItem="Order"
                   Title="Mixed"
                   Options=options>

            <ApexPointSeries TItem="Order"
                             Items="orders"
                             Name="Gross Value"
                             XValue="@(e => e.Country)"
                             YAggregate="@(e => e.Sum(e => e.GrossValue))"
                             OrderByDescending="e=>e.Y"
                             SeriesType="SeriesType.Bar" />

            <ApexPointSeries TItem="Order"
                             Items="orders"
                             Name="Net Value"
                             XValue="@(e => e.Country)"
                             YAggregate="@(e => e.Sum(e => e.NetValue))"
                             OrderByDescending="e=>e.Y"
                             SeriesType="SeriesType.Line" />
        </ApexChart>

    </CardBody>
</Card>
